home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Snippets / SAVRGestalt / SAVRGestalt info next >
Encoding:
Text File  |  1994-11-05  |  899 b   |  18 lines  |  [TEXT/ttxt]

  1. SAVRGestalt
  2. Thomas Reed
  3. reed@medicine.wustl.edu
  4.  
  5. (Note:  This code was written in CodeWarrior using the Universal Headers.)
  6.  
  7. Okay, here it is...  Some source code on how to install a SAVR Gestalt, as should be used in ALL screen savers.  You could use the same method to install a SAVC Gestalt if you like.
  8.  
  9. First, you need the SAVRGestalt.c code in a file in a single project all by itself.  This project should be set up to produce a code resource of type GDEF that gets loaded into the system heap and is locked.
  10.  
  11. After the SAVRGestalt.c code, I've got an explanation of what you need to do in your app to install and remove the SAVR Gestalt selector.
  12.  
  13. I'll try to use comments throughout to explain what's going on.  I hope that this helps folks to start supporting the SAVR Gestalt in their screen savers a little bit better.
  14.  
  15. If anyone has any questions or comments, feel free to e-mail me.
  16.  
  17.  
  18.